//
//  XFAccount.h
//  SinaBlog_OC
//
//  Created by macs on 15/11/11.
//  Copyright © 2015年 BlackTail. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XFAccount : NSObject <NSCoding>

@property(nonatomic, copy) NSString *access_token;
@property(nonatomic, copy) NSString *uid;
@property(nonatomic, assign) NSTimeInterval expires_in;
@property (nonatomic, copy) NSString *avatar_large;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, strong) NSDate *expires_date;
+ (instancetype)accountWithDict:(NSDictionary *)dict;
- (void)saveAccount;
+ (XFAccount *)getAccount;
@end
